As the dialog title is the only header element now, it should
indicate the error condition.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3750>
import GObject from 'gi://GObject';
import Gtk from 'gi://Gtk?version=4.0';
+import {gettext as _} from 'gettext';
+
import {formatError} from './misc/errorUtils.js';
export class ExtensionPrefsDialog extends Adw.PreferencesWindow {
while (this.visible_page)
this.remove(this.visible_page);
+ this.set_title(_('Extension Error'));
this.add(new ExtensionPrefsErrorPage(this._extension, e));
}
}
data/org.gnome.Shell.PortalHelper.desktop.in
data/X-GNOME-Shell-System.directory.desktop.in
data/X-GNOME-Shell-Utilities.directory.desktop.in
+js/dbusServices/extensions/extensionPrefsDialog.js
js/dbusServices/extensions/ui/extension-error-page.ui
js/gdm/authPrompt.js
js/gdm/loginDialog.js